<?php $view->extend('layout.php') ?>

<?php $view['slots']->set('title', $title) ?>

<?php //$view['slots']->start('content') ?>

<div class="jumbotron">
    <h1>Admin Panel</h1>
    
    <?php
        if($admin !=null )
        {
            echo "<h4>Salut ".$admin->getUserName()."</h4>";
        }
    ?>
    <p class="lead">Cras justo odio, dapibus ac facilisis in, egestas eget quam. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
    <p><a class="btn btn-lg btn-success" href="#" role="button">Voir</a></p>
</div>

<?php //$view['slots']->stop() ?>